home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / manual-p / man_db-2.000 / man_db-2 / man_db-2.3.10 / zsoelim / Makefile.in next >
Encoding:
Makefile  |  1995-04-01  |  1.0 KB  |  53 lines

  1. # zsoelim Makefile for the man package.
  2. #
  3. # Copyright (C) 1994, 1995, Graeme Wilford.
  4. #
  5. # You may distribute under the terms of the GNU General Public
  6. # License as specified in the COPYING file that comes with this
  7. # distribution.
  8. #
  9. # Sat Oct 29 13:09:31 GMT 1994  Wilf. (G.Wilford@ee.surrey.ac.uk) 
  10.  
  11. srcdir = @srcdir@
  12. VPATH = @srcdir@
  13. top_srcdir = @top_srcdir@
  14. INSTALL = @INSTALL@
  15.  
  16. include ../include/Defines
  17.  
  18. .PHONY:    $(DEFAULT_TARGETS)
  19.  
  20. override CPPFLAGS := $(DEFS) -I../include -I$(top_srcdir) -I- $(CPPFLAGS)
  21.  
  22. # You may need to modify these options if you have lex instead of flex
  23. # and you want to play with zsoelim.l
  24. FLEXOPTS = -B8 -Cfe
  25. LEX := $(LEX) $(FLEXOPTS)
  26.  
  27. all: zsoelim
  28.  
  29. zsoelim: ../lib/libman.a
  30.  
  31. ../lib/libman.a:
  32.     $(MAKE) -C ../lib
  33.  
  34. # The standard targets
  35. install: all
  36.     $(MKINSTALLDIRS) $(bindir)
  37.     $(INSTALL_PROGRAM) zsoelim $(bindir)/$(zsoelim)
  38.  
  39. uninstall:
  40.     rm -f $(bindir)/$(zsoelim)
  41.     
  42. clean:
  43.     rm -f zsoelim *.o core *~
  44.  
  45. distclean: zsoelim.c clean
  46.     rm -f Makefile
  47.  
  48. realclean: distclean
  49.     rm -f zsoelim.c tags
  50.  
  51. TAGS:
  52.     $(MKTAGS) $(srcdir)/*.[lc]
  53.